﻿namespace View.ConsoleViewer
{
    internal class ListViewAction
    {
        public string Group { get; set; }
        public string Name { get; private set; }
        public int Progress { get; set; }

        private string _state;
        public string State
        {
            get { return string.IsNullOrEmpty(_state) ? "Isn't started." : _state; }
            set { _state = value; }
        }

        public ListViewAction(string name)
        {
            Name = name;
        }
    }
}